<template>
  <!-- 页面头消息 -->
    <div class="header-message-wrap" >

      
        <div class="container custom-container">
          <div class="row">
            <div class="col-12">
              <div class="top-notify-message">
                <p>
                {{head_msg}}
                </p>
                <span class="message-remove" @click="removeheadmsg" >X</span>
              </div>
            </div>
          </div>
        </div>
      </div>
</template>

<script>

export default {
  props:['head_msg'],
 
  methods: {
    removeheadmsg(){
        window.sessionStorage.setItem('delHeadmsg',JSON.stringify(new Date()));
        this.$store.commit('temporary/sethead_msg',null)
    }
  },
}
</script>

<style>

</style>